package com.mnsq.common.bean.entity.permission;

import com.mnsq.common.bean.entity.CommonEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 周俭
 */
@Data
@Entity
@Table(name = "m_role")
public class Role extends CommonEntity {
    private static final long serialVersionUID = 2164019076477317963L;
    private String name;
    private String description;
    @Column(name = "parent_id")
    private Long parentId;
}
